import ajax from '../api/ajax'
//彩种列表
export const crowds = (data)=>ajax("/api/base/period",data,"GET")
//彩种详情
export const colorDetails = (data)=>ajax("/api/base/period",data,"QUERY")
//我的彩票
export const participate = (data)=>ajax("/api/base/fundOrder",data,"GET")
//本期参与
export const participateIssue = (data)=>ajax("/api/base/fundOrder",data,"GET")
// 买彩票
export const buyLotteryTicket = (data)=>ajax("/api/base/fundOrder",data,"POST")
//转让
export const transfer = (data)=>ajax("/api/base/fundOrder",data,"PATCHSSS")
//饲养
export const rearing = (data)=>ajax("/api/base/fundOrder",data,"PATCHSSS")
//往期揭晓
export const past = (data)=>ajax("/api/base/record",data,"QUERYS")

